Find a,b,c,d given max and min in cubic function

  • Context: MHB 
  • Thread starter Thread starter Bob123Bob
  • Start date Start date
  • Tags Tags
    Cubic Function Max
Click For Summary
SUMMARY

The discussion focuses on solving a cubic function of the form f(x) = ax^3 + bx^2 + cx + d, given the minimum and maximum values at specific points. The equations derived from the function at points (1, -4) and (-2, 1) lead to a system of four equations. The solution yields the coefficients as (a, b, c, d) = (10/27, 5/9, -20/9, -73/27). The discussion also highlights the use of a Computer Algebra System (CAS) for solving the equations, while providing a manual solving method using algebraic manipulation.

PREREQUISITES
  • Understanding of cubic functions and their properties
  • Familiarity with derivatives and critical points
  • Basic algebraic manipulation skills
  • Knowledge of systems of equations
NEXT STEPS
  • Learn how to solve systems of equations using matrices
  • Explore the use of Computer Algebra Systems (CAS) for solving polynomial equations
  • Study the properties of cubic functions and their graphs
  • Investigate optimization techniques in calculus
USEFUL FOR

Mathematicians, students studying calculus, and anyone interested in solving polynomial equations and understanding cubic functions.

Bob123Bob
Messages
3
Reaction score
0
f(x) = ax^3 + bx^2 + cx + d min(1, -4) max(-2, 1) find a,b,c,d
 
Physics news on Phys.org
Hello, and welcome to MHB! (Wave)

Bob123Bob said:
f(x) = ax^3 + bx^2 + cx + d min(1, -4) max(-2, 1) find a,b,c,d

We know two points on the curve, so we may write:

$$f(1)=a(1)^3+b(1)^2+c(1)+d=a+b+c+d=-4$$

$$f(-2)=a(-2)^3+b(-2)^2+c(-2)+d=-8a+4b-2c+d=1$$

Now, we know \(f'(x)=0\) at the two given points as well, so let's first compute:

$$f'(x)=3ax^2+2bx+c$$

Hence:

$$f'(1)=3a(1)^2+2b(1)+c=3a+2b+c=0$$

$$f'(-2)=3a(-2)^2+2b(-2)+c=12a-4b+c=0$$

Now, we have 4 equations in 4 unknowns. Solving this system, we find:

$$(a,b,c,d)=\left(\frac{10}{27},\frac{5}{9},-\frac{20}{9},-\frac{73}{27}\right)$$

Here's a graph of the resulting cubic, showing the turning points:

View attachment 8473
 

Attachments

  • mhb_0004.png
    mhb_0004.png
    18.5 KB · Views: 145
I currently have those same equations I just don't know how to solve the system, if you don't mind can you show your steps for that or just explain how you did, also thanks for the welcome and reply
 
Im not too familiar with how to solve using matrices, I am pretty sure you have to make the diagonal equal to positive one and then the section below equal to zero but knowing that the answer is all fractions I am not exactly sure how to solve it that way. Although if you could show how to solve it that way I would do my best to learn it and understand properly, but if you could do it just with equations it would be a lot easier for me
 
Bob123Bob said:
Im not too familiar with how to solve using matrices, I am pretty sure you have to make the diagonal equal to positive one and then the section below equal to zero but knowing that the answer is all fractions I am not exactly sure how to solve it that way. Although if you could show how to solve it that way I would do my best to learn it and understand properly, but if you could do it just with equations it would be a lot easier for me

I used a CAS to solve the system, but if I were to do it by hand, let's look at the four equations:

$$a+b+c+d=-4\tag{1}$$

$$-8a+4b-2c+d=1\tag{2}$$

$$3a+2b+c=0\tag{3}$$

$$12a-4b+c=0\tag{4}$$

If we subtract (3) from (4) we get:

$$9a-6b=0\implies 3a=2b$$

If we subtract (2) from (1) we get:

$$9a-3b+3c=-5\implies 3b+3c=-5\implies c=-\frac{3b+5}{3}$$

Substituting for \(3a\) and \(c\) into (3) we have:

$$2b+2b-\frac{3b+5}{3}=0\implies b=\frac{5}{9}\implies c=-\frac{20}{9}\implies a=\frac{10}{27}\implies d=-\frac{73}{27}$$
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
26K
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K