How do you model functions to fit given conditions?

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).
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Replies
2
Views
1K
Replies
6
Views
2K
Replies
7
Views
2K
Replies
0
Views
1K
Replies
7
Views
1K
Replies
6
Views
1K
Replies
8
Views
1K
Replies
19
Views
2K
Back
Top