Tangent to both pieces of a piecewise defined function

In summary, the conversation discusses finding the line tangent to a curve at two distinct points using the equation of the slope and deriving the equation of the tangent line. The final result is y = -50x + b, where b is the y-intercept.
  • #1
train449
15
0

Homework Statement



Find the line tangent to the curve f(x) = { (x+3)^2 | x < 0} , {-x^ + 8x -4 | x≥ 0} at two distinct points

Homework Equations



slope = Δy/Δx

The Attempt at a Solution



I only got as far as finding the slope of the line to be: a= -50p^2 + 50p. where p is a point on y = (x+3)^2.

my reasoning:

a = (s - q)/(r - p),
where (p,q) belongs to the curve (x + 3)^2 and (r,s) belongs to -x^ + 8x -4
then,

a = [-r^2 + 8r -4 -(p + 3)^2]/r - p = [-r^2 + 8r - p^2 -6p]/r-p

also,

d/dx (x + 3)^2 = 2x + 6
d/dx -x^2 + 8x -4 = -2x +8

these slopes should both be equal, and also to a
thus

2p + 6 = [-r^2 + 8r - p^2 -6p]/r-p
2pr - 2r -p^2 +12p = 0

-2r + 8 = [-r^2 + 8r - p^2 -6p]/r-p
-r^2 + 2pr -2p = 0

2pr - 2r -p^2 +12p = -r^2 + 2pr -2p
r = 7p

then a = [-(7p)^2 + 8(7p) - p^2 -6p]/7p-6p
a = -50p^2 +50p

As nice as the result looks, I'm now stumped, beating my head against the wall and feeling like I've gone down the complete wrong path.

Any help is appreciated
 
Physics news on Phys.org
  • #2
my last line isn't completely simplified i realized it should be -50p + 50
 

FAQ: Tangent to both pieces of a piecewise defined function

What is a piecewise defined function?

A piecewise defined function is a type of mathematical function that is defined by different formulas or rules for different parts of its domain. This means that the function behaves differently depending on the input value.

How do you know when a piecewise function is continuous?

A piecewise function is continuous when the limit of the function at each point in its domain exists and is equal to the actual value of the function at that point. This means that the two pieces of the function must connect smoothly at the point where they meet.

How do you find the slope of a tangent line to a piecewise function?

To find the slope of a tangent line to a piecewise function, you can use the derivative of the function. The derivative is a mathematical tool that allows you to find the rate of change of a function at a specific point. Once you have the derivative, you can plug in the x-value of the point you want to find the tangent line for and solve for the slope.

Can a piecewise function have more than two pieces?

Yes, a piecewise function can have any number of pieces. The number of pieces is determined by the number of different rules or formulas that are used to define the function. Each piece of the function can have its own unique domain and range.

How do you graph a piecewise function?

To graph a piecewise function, you can plot the points for each piece of the function separately and then connect the points with a line or curve. It is important to pay attention to the domain and range of each piece of the function and make sure they are graphed correctly. You can also use a graphing calculator to graph piecewise functions.

Similar threads

Back
Top