write an equation for the linear functionwith thegiven values?

f (-2)=21, f(5)= -35

f (-6)=-2, f(3)= -5

f (-9)  = -4, f(12) =14

 

please explain how and write the steps please and thank you

in Algebra 1 Answers by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

Standard linear function is f(x)=ax+b where a and b are constants.

Substitute each point into the function:

21=-2a+b, -35=5a+b. We need go no further because we have two linear equations and two unknowns.

f(-2)-f(5): 56=-7a so a=-8. Now we can work out b: b=21+2a=21-16=5 so f(x)=5-8x.

Quick check shows that the function is correct: f(-2)=5+16=21; f(5)=5-40=-35.

But we need to check all the other points:

f(-6)=5+48=53; f(3)=5-24=-19; uh-oh, something wrong!

The values don't fit. So either f(x) is not linear or it's piecewise.

Closer inspection is needed. First plot the points. It's clear to see that the points are not colinear. Join the points with straight lines. We're not told that f is continuous. Let's assume it is. If it's piecewise, we need 5 different equations to define the function between the 6 points. In order these are (-9,-4), (-6,-2), (-2,21), (3,-5), (5,-35), (12,14). Call these points A, B, C, D, E, F. We can work out linear equations between A and B, B and C, C and D, etc. These equations will provide continuity for f in the domain -9<x<12.

The alternative is to assume continuous f is non-linear: f(x)=a0+a1x+a2x^2+a3x^3+a4x^4+a5x^5, where a0 to a5 are six coefficients which can be calculated from the six given points. The process is tedious and time-consuming. it's unlikely that the coefficients will be integers. The calculations will involve raising numbers like 9 and 12 to the power 5.

Going back to the piecewise function. Take two points (x1,y1) and (x2,y2). The line between them has the general form y=f(x)=ax+b. Plugging in the points we get: y1=ax1+b and y2=ax2+b; so y1-y2=a(x1-y1) and a=(y1-y2)/(x1-x2).

To find b, use one equation: b=y1-ax1=y1-x1(y1-y2)/(x1-x2)=(y1x1-y1x2-y1x1+x1y2)/(x1-x2)=(x1y2-x2y1)/(x1-x2).

So f(x)=x(y1-y2)/(x1-x2)+(x1y2-x2y1)/(x1-x2). So now we take pairs of points and work out the equations.

(-9,-4) and (-6,-2): f(x)=2x/3+2; -9<x<-6

(-6,-2) and (-2,21): f(x)=23x/4+65/2; -6<x<-2

(-2,21) and (3,-5): f(x)=-26x/5+53/5; -2<x<3

(3,-5) and (5,-35): f(x)=-15x+40; 3<x<5

(5,-35) and (12,14): f(x)=7x-70; 5<x<12

by Top Rated User (1.1m points)

Related questions

1 answer
1 answer
0 answers
1 answer
1 answer
asked Nov 20, 2020 in Algebra 1 Answers by anonymous | 2.8k views
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!

Most popular tags

algebra problems solving equations word problems calculating percentages math problem geometry problems calculus problems math fraction problems trigonometry problems rounding numbers simplifying expressions solve for x order of operations probability algebra pre algebra problems word problem evaluate the expression slope intercept form statistics problems factoring polynomials solving inequalities 6th grade math how to find y intercept equation of a line sequences and series algebra 2 problems logarithmic equations solving systems of equations by substitution dividing fractions greatest common factor square roots geometric shapes graphing linear equations long division solving systems of equations least to greatest dividing decimals substitution method proving trigonometric identities least common multiple factoring polynomials ratio and proportion trig identity precalculus problems standard form of an equation solving equations with fractions http: mathhomeworkanswers.org ask# function of x calculus slope of a line through 2 points algebraic expressions solving equations with variables on both sides college algebra domain of a function solving systems of equations by elimination differential equation algebra word problems distributive property solving quadratic equations perimeter of a rectangle trinomial factoring factors of a number fraction word problems slope of a line limit of a function greater than or less than geometry division fractions how to find x intercept differentiation exponents 8th grade math simplifying fractions geometry 10th grade equivalent fractions inverse function area of a triangle elimination method story problems standard deviation integral ratios simplify systems of equations containing three variables width of a rectangle percentages area of a circle circumference of a circle place value solving triangles parallel lines mathematical proofs solving linear equations 5th grade math mixed numbers to improper fractions scientific notation problems quadratic functions number of sides of a polygon length of a rectangle statistics zeros of a function prime factorization percents algebra 1 evaluating functions derivative of a function equation area of a rectangle lowest common denominator solving systems of equations by graphing integers algebra 2 diameter of a circle dividing polynomials vertex of a parabola calculus problem perpendicular lines combining like terms complex numbers geometry word problems converting fractions to decimals finding the nth term range of a function 4th grade math greatest to least ordered pairs functions radius of a circle least common denominator slope unit conversion solve for y calculators solving radical equations calculate distance between two points area word problems equation of a tangent line multiplying fractions chemistry binomial expansion place values absolute value round to the nearest tenth common denominator sets set builder notation please help me to answer this step by step significant figures simplifying radicals arithmetic sequences median age problem trigonometry graphing derivatives number patterns adding fractions radicals midpoint of a line roots of polynomials product of two consecutive numbers limits decimals compound interest please help pre-algebra problems divisibility rules graphing functions subtracting fractions angles numbers discrete mathematics volume of a cylinder simultaneous equations integration probability of an event comparing decimals factor by grouping vectors percentage expanded forms rational irrational numbers improper fractions to mixed numbers algebra1 matrices logarithms how to complete the square mean statistics problem analytic geometry geometry problem rounding decimals 5th grade math problems solving equations with variables solving quadratic equations by completing the square simplifying trigonometric equation using identities
87,448 questions
99,049 answers
2,422 comments
4,783 users