Finding a point on a slope that meets a function - tricky one though

AI Thread Summary
To find the coordinates of points A and B on the function f(x) = x² - 6x + a, the slopes of the tangent lines at these points are given as -2 and 2, respectively. The derivative of the function, f'(x), must equal the slopes of the tangent lines to find the x-coordinates of A and B. The parameter "a" affects the function's vertical position, and it must be determined to solve for the intersection points. By equating the function to the tangent line equations, a quadratic equation is formed, which can yield one solution when the discriminant equals zero. Ultimately, the discussion emphasizes the importance of calculus in solving for the points of tangency and determining the value of "a."
Femme_physics
Gold Member
Messages
2,548
Reaction score
1

Homework Statement



Find the coordinates of point A and B
The function is

f(x) = x2 -6x +a

(where "a" is a parameter)

The equation tangent line to the function at point A is
y = -2x +1

The equation tangent line to the function at point B
y = 2x -11

http://img864.imageshack.us/i/calc01.jpg/



The Attempt at a Solution



In order to find A I just need to set the function equal to the line equation at A, since this is the point where they meet. The problem is that "a" is a parameter. Until I know a I can't solve this equation. I can see "a" as an unknown, but then I got 1 equation and 2 unknowns.

I'm rather confused as to how to find this point without "a" being defined to me.

Any help?
 
Last edited by a moderator:
Physics news on Phys.org
What's the derivative of f(x)?

To find the x coordinate of A you need f'(x) = -2.
Can you solve that?
 
How will the derivative of f(x) help me find that point? Do I set the derivative of the sad-smile parabola's function equal to the slope function?

To find the x coordinate of A you need f'(x) = -2.

Hmm, wait, the derivative of the slope function gives you the point A?
 
I like Serena said:
What's the derivative of f(x)?

To find the x coordinate of A you need f'(x) = -2.
Can you solve that?

Isn't this precalculus math? Have you taken calculus Femme Physique?

Femme_physics said:
How will the derivative of f(x) help me find that point? Do I set the derivative of the sad-smile parabola's function equal to the slope function?
Hmm, wait, the derivative of the slope function gives you the point A?

The derivative of your function at a certain point gives you the slope of the tangent at that point. The slope of your first tangent line is -2, so if you set f'(x) = -2 and solve for x, you should find the abscissa of point A.
 
Femme_physics said:
How will the derivative of f(x) help me find that point? Do I set the derivative of the sad-smile parabola's function equal to the slope function?



Hmm, wait, the derivative of the slope function gives you the point A?

The derivative of a function is the slope of that function.

In point A the slope of f(x) must be equal to the slope of the given tangent line in A.
This gives you 1 equation with 1 unknown...
 
Isn't this precalculus math? Have you taken calculus Femme Physique?
"Femme_Physique"? *chuckles* :D

I know calc, I just thought it's a problem where I don't have to use calculus.

The derivative of your function at a certain point gives you the slope of the tangent at that point. The slope of your first tangent line is -2, so if you set f'(x) = -2 and solve for x, you should find the abscissa of point A.

Oh, I see, it makes sense actually, thanks! I'll try it right now :)

And thanks to you ILS as always!
 
You don't need calculus for this problem. Think about this, if you try to equate a line and a parabola (to see where they cut), you'll end up solving a quadratic equation. There could either be 2 solutions, 1 solution, or none at all. What do each of these mean in terms of the parabola and line?
 
You don't need calculus for this problem. Think about this, if you try to equate a line and a parabola (to see where they cut), you'll end up solving a quadratic equation.

Yes-- but I don't have "a", "a" is a parameter.

I was able to solve it only using calculus.
 
Yes I know that, you need to find a first before you can find the coordinates of intersection A and B. Just try to equate one of the lines with the parabola, and take into consideration when finding the roots (which will be in terms of a) that the line is tangent to it.
 
  • #10
Makes sense. "a" is how much the function moves to the right, right? And I can also find a but finding the minima point, correct?

Hmm..wait, I turn up with a = 3, but the answer book says 5. I did do what you said

-2x+1 = 2x -11
4x = 12
x = 3
 
  • #11
No, a is how much it moves up and down. If you have some parabola y_1=ax^2+bx+c then the parabola y_2=ax^2+bx+c+1=y_1+1 will move everything up 1 more unit.

You found where the two lines intersect each other by equating them together, instead equate the parabola and one of the lines.
 
  • #12
But if I equate the parabola's function and one of the slope's function, I still have 1 equation and 2 unknowns (x and a are unknown)
 
  • #13
Femme_physics said:
But if I equate the parabola's function and one of the slope's function, I still have 1 equation and 2 unknowns (x and a are unknown)

I've already explained this. You'll be solving for x (the answer will be in terms of a) and then you need to take one more detail into consideration:

Mentallic said:
You don't need calculus for this problem. Think about this, if you try to equate a line and a parabola (to see where they cut), you'll end up solving a quadratic equation. There could either be 2 solutions, 1 solution, or none at all. What do each of these mean in terms of the parabola and line?
 
  • #14
The equation you would have is:

x2 - 6x + a = -2x + 1

or:
x2 - 4x + (a - 1) = 0

This is a quadratic equation in x (which includes an "a", but we'll ignore that for now).

The solution is (see also http://en.wikipedia.org/wiki/Quadratic_equation):

x=\frac {-(-4) \pm \sqrt {(-4)^2 - 4 \cdot 1 \cdot (a-1)} } {2 \cdot 1}

This yields 2 solutions, but only if the sqrt-part is greater than zero.
In particular if the sqrt-part equals zero, there is exactly 1 solution, which is what we're looking for.

So we have:
(-4)^2 - 4 \cdot 1 \cdot (a-1)} = 0

From this equation you can find a, and then you can also find x.
 
  • #15
I kinda get stuck here, unsure how to take a square root of a number with an unknown
 

Attachments

  • stt.jpg
    stt.jpg
    43.8 KB · Views: 457
  • #16
Femme_physics said:
I kinda get stuck here, unsure how to take a square root of a number with an unknown

That's right, you cannot take the square root of a number with an unknown.

The "trick" is that you know something else: there must be only 1 solution.

Try it for instance with a = 0 and also with a = 2.
Which (and in particular: how many) solutions do you get?

[edit]btw, I just saw that your calculation that came out to (12a - 12) is not quite right.
I guess we can get to that in a minute.[/edit]
 
  • #17
I plug (-4)2-4 * 1 and I get 12

So from there it's 12(a-1) = 12a -12

That's for the numerator under the square root
 
  • #18
Femme_physics said:
I plug (-4)2-4 * 1 and I get 12

So from there it's 12(a-1) = 12a -12

That's for the numerator under the square root

There's a rule that multiplying comes before adding/subtracting.

So (-4)2 - 4 * 1 * (a - 1) = (-4)2 - (4 * 1 * (a - 1))
(Notice that I've added a couple of parentheses to emphasize the order of evaluation.)

This comes out to:
16 - (4 * (a - 1))

Since you have an unknown, you can't calculate e.g. (a - 1) yet, but what you can do is rewrite the expression, eliminating the parentheses.

That is:
16 - (4 * a - 4 * 1) = 16 - (4a - 4)

[edit]That is because:
2 * (3 + 4) = (2 * 3) + (2 * 4)
Try it if you don't believe me! :)
[/edit]
 
  • #19
Femme_physics you should revise your algebra!
 
  • #20
*smacks forehead* It's the calculator's fault! I mean, the way I tried to solve it using a calculator instead of writing everything down.

I'll try it again then. Thanks :)
 
  • #21
So, there it is. I'm still getting stuck with the same concept that I can't take the square root of an unknown.

That's right, you cannot take the square root of a number with an unknown.

The "trick" is that you know something else: there must be only 1 solution.

Try it for instance with a = 0 and also with a = 2.
Which (and in particular: how many) solutions do you get?

Hm. But I can't just set "a" to whatever I want, right?
 

Attachments

  • algeb.jpg
    algeb.jpg
    32.8 KB · Views: 447
  • #22
Femme_physics said:
So, there it is. I'm still getting stuck with the same concept that I can't take the square root of an unknown.

I'm going to take this one step at a time.

You write:
16 - 4(a - 1)

and then you make from this:
16 - 4a - 1

This is not right.
If you for instance fill in "a = 2", you'll get:
16 - 4(2 - 1) = 16 - 4(1) = 12
respectively:
16 - 4 x 2 - 1 = 16 - 8 - 1 = 7

You need to find something that if you fill in a value for "a" the results before and after match.

Femme_physics said:
Hm. But I can't just set "a" to whatever I want, right?

Can you set "a" to whatever you want?
Well, yes and no.

Yes, you can set "a" to any value you want, and see what comes out.
But ultimately "a" must have a value such that the parabola will "touch" the lines in points A and B.
 
  • #23
Okay, so I was rush at getting to the next step and didn't solve correctly for
16 - 4(a - 1)

Clearly it's 16 -4a +4
Which then becomes
20 -4a

You need to find something that if you fill in a value for "a" the results before and after match.
So this is a guessing game? I just start from a=1 till a=1000 until I find something that matches?
 
  • #24
Femme_physics said:
Okay, so I was rush at getting to the next step and didn't solve correctly for
16 - 4(a - 1)

Clearly it's 16 -4a +4
Which then becomes
20 -4a

:smile:

Femme_physics said:
So this is a guessing game? I just start from a=1 till a=1000 until I find something that matches?

All right!
Let's make it a guessing game! :)
Take a guess for "a" between 1 and 1000.
Can you give me a number?

[edit]I pick a = 1. What's yours?[/edit]

[edit2]Can you give me the solutions for x for your choice?[/edit2]
 
  • #25
Okay, I gave it a shot, and after three random guesses it appears that a=5, where the whole shebang under the square root goes to zero, that gives the same 2 results.

So I'm always supposed to get the whole shebang under the square root to get to 0 to find a?
 

Attachments

  • aequqals.jpg
    aequqals.jpg
    21.7 KB · Views: 446
  • #26
Femme_physics said:
Okay, I gave it a shot, and after three random guesses it appears that a=5, where the whole shebang under the square root goes to zero, that gives the same 2 results.

:smile:

Femme_physics said:
So I'm always supposed to get the whole shebang under the square root to get to 0 to find a?

Only if you want the equation to have exactly 1 solution, which now we do.

It's a kind of special case in which you can solve 2 unknowns from 1 equation, but only with the extra information that the parabola "touches" the line.
 
  • #27
It's a kind of special case in which you can solve 2 unknowns from 1 equation, but only with the extra information that the parabola "touches" the line.

Woahhhhh...I'm on math drug... :cool:

Many, many thanks for getting me there ILS!
 
  • #28
Earlier, you wrote this.

Femme_physics said:
Yes-- but I don't have "a", "a" is a parameter.

I was able to solve it only using calculus.

Did you get the same values for x and a (using calculus)?
 
  • #29
Well, I just needed to find a, not x! I'm not sure what you mean :confused:

By the way, now it's really getting into calculus, for the last question I need to find the area that's caged above the slopes but below the function (graphed in the original upload).

I persume I take the integral of the parabola's function from 2 to 4, then reduce it by the integrals of the two slopes from 2 to 4. Does it make sense?
 
  • #30
Femme_physics said:
Well, I just needed to find a, not x! I'm not sure what you mean :confused:

The problem statement asks for the coordinates of A and B.
You have just not only found a = 5, but also x = 2 for point A.
You're not entirely finished yet, because you also need the y-coordinate of A, and the coordinates of B.


However, my original response at the start of the thread was:
ILSe said:
To find the x coordinate of A you need f'(x) = -2.

In point A the slope of f(x) must be equal to the slope of the given tangent line in A.
This gives you 1 equation with 1 unknown...

This is first step in the "calculus" way of solving the problem using the derivative, which is actually easier.
It's before you were set on the course to intersect a parabola with a line, triggered by the comment of Mentalic.

Since you're learning calculus this seems to be a good place to practice it too. :)

Femme_physics said:
By the way, now it's really getting into calculus, for the last question I need to find the area that's caged above the slopes but below the function (graphed in the original upload).

I persume I take the integral of the parabola's function from 2 to 4, then reduce it by the integrals of the two slopes from 2 to 4. Does it make sense?

Yes, that makes perfect sense! :smile:

Take note however that you need to take the integral of the first slope from 2 to 3, and the integral of the second slope from 3 to 4.
 
  • #31
The problem statement asks for the coordinates of A and B.
You have just not only found a = 5, but also x = 2 for point A.
You're not entirely finished yet, because you also need the y-coordinate of A, and the coordinates of B.

Oh yea, that's easy. I actually got
A (x = 2)

So in that case, I plug 2 and get

Y = -3

For B I plug in 4, and I get
Y = -3

So

A (2,-3)
B (4, -3)
This is first step in the "calculus" way of solving the problem using the derivative, which is actually easier.
It's before you were set on the course to intersect a parabola with a line, triggered by the comment of Mentalic.

Since you're learning calculus this seems to be a good place to practice it too. :)

Oh yes, I didn't actually do the intersection, as you can see from my attached full scan (answer to question 2)

Take note however that you need to take the integral of the first slope from 2 to 3, and the integral of the second slope from 3 to 4.

Eep! Sound complex, as I only solved for 2 integrals at best so far, now I have 3! But, going to give it a shot, for sure! :)

Many thanks ILS!
 

Attachments

  • full2010.jpg
    full2010.jpg
    19.8 KB · Views: 435
  • #32
Femme_physics said:
Oh yea, that's easy. I actually got
A (x = 2)

So in that case, I plug 2 and get

Y = -3

For B I plug in 4, and I get
Y = -3

So

A (2,-3)
B (4, -3)

Oh yes, I didn't actually do the intersection, as you can see from my attached full scan (answer to question 2)

:rolleyes: Uhhh, yes, that's entirely correct. :smile:

And sorry to keep bugging you, but could you also solve "a" this way?
That is, since your scan suddenly switches from the calculus-derivative-method to the algebra-parabola-intersection-method.
Could you have calculated "a" in a different manner using your previous results?


Femme_physics said:
Eep! Sound complex, as I only solved for 2 integrals at best so far, now I have 3! But, going to give it a shot, for sure! :)

Many thanks ILS!

Always! :smile:
 
  • #33
And sorry to keep bugging you, but could you also solve "a" this way?
You're practicing my math, it's me who's bugging you if anything!

That is, since your scan suddenly switches from the calculus-derivative-method to the algebra-parabola-intersection-method. Could you have calculated "a" in a different manner using your previous results?

Oh. I see. I hardly knew how to find it through non-calculus! (setting the whole thing under the square root equal to zero!) Thanks to you I now do. Is there another method? How?
 
  • #34
Femme_physics said:
Oh. I see. I hardly knew how to find it through non-calculus! (setting the whole thing under the square root equal to zero!) Thanks to you I now do. Is there another method? How?

The equation of your parabola is:
f(x) = x2 -6x +a

You found that A is (2, -3) using calculus.
This is a point on the parabola.

Can you combine that?
And solve for a?
 
  • #35
In order to intersect you must have x^2- 6x+ a= -2x+ 1 so that x must satisfy x^2- 4x+ a- 1= 0.

In order that the line be tangent to the parabola, that value of x must be a double root. That is, we must have x^2- 4x+ a- 1= (x- x_0)^2.

Complete the square in x^2- 4x+ a- 1. a must be such this is as perfect square.
 
  • #36
I like Serena said:
The equation of your parabola is:
f(x) = x2 -6x +a

You found that A is (2, -3) using calculus.
This is a point on the parabola.

Can you combine that?
And solve for a?
Let me see,

So
Ay = -3
Ax = 2

(this is starting to sound like mechanics, but bear with me lol)

So I plug that into the parabola function and I get

-3 = 4 -12 +a

a = 5

YESSSSSSSSSSSS!

Is that it? :D Has to be? Brilliant!

Tons easier, too! I wished we used that method to begin with!

HallsofIvy said:
In order to intersect you must have x^2- 6x+ a= -2x+ 1 so that x must satisfy x^2- 4x+ a- 1= 0.

In order that the line be tangent to the parabola, that value of x must be a double root. That is, we must have x^2- 4x+ a- 1= (x- x_0)^2.

Complete the square in x^2- 4x+ a- 1. a must be such this is as perfect square.

Oh, I believe I already found it using this route (posted above), but thanks :)
 
  • #37
Femme_physics said:
YESSSSSSSSSSSS!

Is that it? :D Has to be? Brilliant!

Tons easier, too! I wished we used that method to begin with!)

That's it! :smile:

(And you're making me feel good about myself! :blushing:)
 
  • #38
You're the one who's empowering my math, you're making me feel AWESOME about myself! Thank you :D
 
  • #39
Hm, someone I'm not getting the area result with the notion of integrating the 3 functions...can you tell me what I'm doing wrong?

Answer book says 2/3
 

Attachments

  • integ.jpg
    integ.jpg
    25 KB · Views: 428
  • #40
Femme_physics said:
Hm, someone I'm not getting the area result with the notion of integrating the 3 functions...can you tell me what I'm doing wrong?

Answer book says 2/3

Before I answer your question, I'd like you to consider what you are doing.

I think you already know that the integral of a function measures the surface between the function and the x-axis.
With a function below the x-axis, the integral will come out to a negative value.

Can you estimate what those surfaces are for the 3 integrals you have?
Btw, a typical estimation would be based on a rectangle that more or less matches the surface.
 
  • #41
With a function below the x-axis, the integral will come out to a negative value.
Yes, I see I forgot to add minus to the eight in the last calculation, but even then it's wrong
Can you estimate what those surfaces are for the 3 integrals you have?

I guess I can make a triangle if I find the critical point (I already know it's 3, actually) and that would give an "estimate" without the meniscus. I'm not sure how it helps me get the real value, though
 
  • #42
Femme_physics said:
Yes, I see I forgot to add minus to the eight in the last calculation, but even then it's wrong

I guess I can make a triangle if I find the critical point (I already know it's 3, actually) and that would give an "estimate" without the meniscus. I'm not sure how it helps me get the real value, though

Let's take the third integral as an example.
The corresponding rectangle would have width 1 and a height between 3 and 4.
So the integral should come out between -3 and -4.
Instead, what you have is +2.

Did you make a mistake copying your formula or something? ;)
 
  • #44
In your scan you have calculated the third integral as: x2 - 11x which is correct.
Which formula did you use when you substituted 3 and 4?

Btw, in your first integral you did use the proper formula, but apparently you made a mistake with your calculator?
Note that the estimation of the first integral would be a rectangle with width 2 and height between 3 and 4. So the first integral should come out between -6 and -8, but *not* exactly -8.
 
  • #45
Btw, in your first integral you did use the proper formula, but apparently you made a mistake with your calculator?

Yes! Sharp of you. It's -7.3333.

But, it's still off the mark

Which formula did you use when you substituted 3 and 4?

The ascending slope
i.e.
2x-11
whose integral is x2 -11x
 
  • #46
Femme_physics said:
The ascending slope
i.e.
2x-11
whose integral is x2 -11x

In your calculation of the third integral you used 2x-11 when you should have used x2 -11x.

Usage of y=2x-11 would give you the difference in the y values at x = 3 and x = 4, which is indeed +2, but then you need the surface... :)
 
  • #47
Got it!

I now see all the stupid mistakes I've made! I actually didn't take the integral but the function when I did the area calcultion of the 2 slopes! *slaps forehead*.

As you can see, I haven't taken areas two many times. :blushing: I'm self-studying entirely for an external math exam that's mandatory for me if I want to keep studying engineering.

You're unbelievable for helping me through all of that ILS! Thank you so much :D
 

Attachments

  • gotit.jpg
    gotit.jpg
    26.4 KB · Views: 448
  • #48
Femme_physics said:
Got it!

I now see all the stupid mistakes I've made! I actually didn't take the integral but the function when I did the area calcultion of the 2 slopes! *slaps forehead*.

As you can see, I haven't taken areas two many times. :blushing: I'm self-studying entirely for an external math exam that's mandatory for me if I want to keep studying engineering.

You're unbelievable for helping me through all of that ILS! Thank you so much :D

:smile:

Wait!
Does that mean this thread has come to an end?
That we must move on to a new and uncertain thread?
I don't want it to end! :blushing:
 
  • #49
LMAO! :D

The exercise has indeed sadly come to an end, but my help-seeking ways and scanning days are just beginning ;)

I have a bunch more! I just make it a rule not to ask 3 questions simultaneously.

I'll be hoping to see you stopping by! :D Always happy to see you've replied. Thanks. Learning so much from you.
 
Back
Top