How do you model functions to fit given conditions?

Click For Summary
SUMMARY

The discussion centers on modeling quadratic functions to meet specific conditions, specifically finding coefficients for the function f(x) = ax² + bx + c given f(-1) = 3 and f(1) = 3. Participants highlight that with only two conditions, there are infinitely many parabolas that can satisfy these points, as the quadratic function has three coefficients. The solution reveals that b = 0, simplifying the function to f(x) = ax² + c, leading to the equation a + c = 3, which allows for multiple valid pairs of (a, c).

PREREQUISITES
  • Understanding of quadratic functions and their standard form (f(x) = ax² + bx + c)
  • Basic algebraic manipulation, including solving systems of equations
  • Knowledge of function evaluation at specific points
  • Concept of degrees of freedom in polynomial equations
NEXT STEPS
  • Explore the concept of polynomial interpolation and how to determine coefficients from multiple points
  • Learn about the implications of degrees of freedom in polynomial fitting
  • Study the method of least squares for fitting functions to data
  • Investigate the role of additional conditions in determining unique polynomial solutions
USEFUL FOR

Mathematicians, educators, students studying algebra, and anyone interested in polynomial modeling and function analysis.

pakmingki
Messages
93
Reaction score
1
for example, i want to find the coeffiecients of a function f(x) = ax^2 + bx + c for these given conditions:
f(-1) = 3
f(1) = 3

i tried plugging and chugging
for the first condition:
3 = a - b + c
3 = a + b + c

now i tried subtracting the system to get
0 = 2b
so its solved that b = 0

so now we got a step further towards the goal, and we know we can right the function as
f(x) = ax^2 + c
so now we try plugging and chugging again, but then we get
3 = a + c
3 = a + c
since they are the same equation, i don't know how we can solve for a and c.
 
Mathematics news on Phys.org
lol you got the equation down to ax^2+c yes? Well for -1 and 1, x^2 is 1!

So now you have it down to a+c=3! No need to solve for, choose any values :D
1 and 2, 3 and 0, -4 and 7, whatever you want :D
 
pakmingki said:
for example, i want to find the coeffiecients of a function f(x) = ax^2 + bx + c for these given conditions:
f(-1) = 3
f(1) = 3
You have an obvious problem here- your quadratic, f(x)= ax2+ bx+ c, has three coefficients and you only have two conditions. Given three points, not on a straight line, there exist a unique quadratic passing through them- but there are an infinite number of parabolas passing through two given points.

i tried plugging and chugging
for the first condition:
3 = a - b + c
3 = a + b + c

now i tried subtracting the system to get
0 = 2b
so its solved that b = 0

so now we got a step further towards the goal, and we know we can right the function as
f(x) = ax^2 + c
so now we try plugging and chugging again, but then we get
3 = a + c
3 = a + c
since they are the same equation, i don't know how we can solve for a and c.

Yes, as I said, you don't have enough conditions. You can solve for c in terms of a: c= 3- a. All of the parabolas given by f(x)= ax2+ 3- a will pass through (1, 3) and (-1, 3).
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K