FreeExam

Motion planning and controls engineer: Trajectory Optimization

Original technical scenarios on time laws, transcription, numerical derivatives, constrained optimality, actuator and contact limits, stochastic information, rotation representations, and executable trajectory certificates.

These prompts are original practice. They are not questions from a named employer or a live hiring loop.

  1. 1.A scalar path is q(s)=s². At one instant, s=3, ṡ=2, and s̈=−1. What acceleration q̈ follows from the chain rule?

    Show answer and explanation
    1. 2
    2. 8
    3. −6
    4. 12

    Answer: 2

    q̈=q″(s)ṡ²+q′(s)s̈=2×4+6×(−1)=2. A time law affects both terms. Differentiating only the path or only the time parameter omits part of the actual acceleration.

  2. 2.A trajectory is slowed uniformly by replacing q(t) with q(t/2). Relative to the original at corresponding points, what are the velocity, acceleration, and jerk scale factors?

    Show answer and explanation
    1. (2,4,8)
    2. (1,1/2,1/4)
    3. (1/2,1/2,1/2)
    4. (1/2,1/4,1/8)

    Answer: (1/2,1/4,1/8)

    Each time derivative contributes another factor of 1/2 by the chain rule. The factors are 1/2, 1/4, and 1/8. Uniform scaling changes timing derivatives; it does not by itself establish all dynamic or moving-obstacle constraints.

  3. 3.A fixed path has length 9 m and speed cannot exceed 3 m/s. Start/stop and other constraints may add time. What does the quotient 9/3 establish?

    Show answer and explanation
    1. A 3-second lower bound on duration
    2. An always-achievable exact duration
    3. A 3-second upper bound on duration
    4. A proof that acceleration limits are inactive

    Answer: A 3-second lower bound on duration

    Traversal time is at least length divided by the maximum permitted speed. Required acceleration, braking, timing windows, and other constraints can increase it. A lower bound is not a constructed feasible time law.

  4. 4.A joint's required static gravity torque exceeds its actuator limit at a pose the path must traverse. Slowing reduces inertial terms but leaves that static load unchanged. Can uniform slowdown alone guarantee feasibility?

    Show answer and explanation
    1. Yes; geometric feasibility guarantees feasible torque at some longer duration
    2. No; the static torque violation remains
    3. No; changing duration cannot affect any inertial or velocity-dependent term
    4. Yes; gravity torque vanishes whenever traversal becomes slow

    Answer: No; the static torque violation remains

    Time scaling can reduce velocity-dependent or inertial demands while leaving static loads. Check the complete dynamics and actuator envelope. A geometric route may need a different pose, load, mechanism, or constraint rather than only a longer duration.

  5. 5.At a point on a planar trajectory, perpendicular tangential and normal acceleration components have magnitudes 3 and 4 m/s². The required total acceleration limit is 4.5 m/s². Is the point feasible?

    Show answer and explanation
    1. Yes; total magnitude is 4 m/s²
    2. No; total magnitude is 7 m/s²
    3. No; total magnitude is 5 m/s²
    4. Yes; each component is below 4.5

    Answer: No; total magnitude is 5 m/s²

    Orthogonal components combine by Euclidean norm: sqrt(3²+4²)=5, exceeding 4.5. Separate component checks do not enforce this coupled norm bound. Use the actual actuator or traction constraint rather than a different box approximation.

  6. 6.A time-parameterized route avoids a moving obstacle. Uniformly slowing the robot changes when it occupies each position. What must be revalidated?

    Show answer and explanation
    1. Space-time validity under the new time law
    2. Lower speed necessarily preserves every moving-obstacle separation
    3. The old timing certificate transfers because the geometric curve is unchanged
    4. Positive geometric clearance at the old timestamps certifies all later timestamps

    Answer: Space-time validity under the new time law

    Collision with moving geometry depends on simultaneous occupancy. A slower traversal can enter a previously avoided time interval. Time scaling may improve some dynamic limits while invalidating temporal constraints, so preserve the full feasibility contract.

  7. 7.An unconstrained optimizer stops at x=0 for f(x)=(x²−4)² because f′(0)=0. Values at x=±2 are zero, while f(0)=16. What does zero gradient alone establish here?

    Show answer and explanation
    1. Stationarity, not local or global minimality
    2. A proof that f has no better point
    3. A unique global minimum at zero
    4. Feasibility of every possible trajectory

    Answer: Stationarity, not local or global minimality

    The derivative is 4x(x²−4), zero at x=0 and ±2. Around zero the objective decreases toward ±2, so stationarity is not a minimum certificate. Solver conditions must be interpreted under the objective and constraint assumptions.

  8. 8.A quadratic objective has Hessian diag(2,−1). An engineer calls the unconstrained objective convex. What contradicts that claim?

    Show answer and explanation
    1. The Hessian has a negative direction
    2. The Hessian has a positive entry
    3. Every quadratic objective is convex by definition
    4. The Hessian is diagonal

    Answer: The Hessian has a negative direction

    For a twice-differentiable quadratic, convexity requires a positive-semidefinite Hessian. Along the second coordinate this Hessian has negative curvature. Quadratic syntax alone does not provide convex-optimization guarantees.

  9. 9.Minimize x² over the box −1≤x,y≤1. What is the minimizer set?

    Show answer and explanation
    1. All points with x=0 and y in [−1,1]
    2. Only (0,0)
    3. Only (−1,−1)
    4. Every point in the box

    Answer: All points with x=0 and y in [−1,1]

    The objective is nonnegative and reaches zero whenever x=0, independent of y. Convexity does not imply uniqueness; strict convexity or other conditions would be needed for that claim. A flat direction can leave many equivalent optima.

  10. 10.A trajectory program uses a convex quadratic cost but a feasible set containing two disconnected collision-free corridors. What conclusion does the cost alone not establish?

    Show answer and explanation
    1. Obstacle constraints can affect feasibility
    2. The cost can be evaluated numerically
    3. Convexity of the complete constrained problem
    4. A quadratic objective has a Hessian

    Answer: Convexity of the complete constrained problem

    Convex optimization requires the relevant feasible set and objective conditions together. Collision avoidance can make feasibility nonconvex even with a convex cost. A local solver's result cannot inherit global convex guarantees from the objective alone.

  11. 11.A discrete dynamics constraint is x1=x0+2u0. The candidate has x0=1,u0=0.5,x1=1.6. Using defect r=x1−x0−2u0, what is r?

    Show answer and explanation
    1. −0.4
    2. 0
    3. 2.6
    4. 0.4

    Answer: −0.4

    Substitution gives r=1.6−1−1=−0.4. The candidate violates the stated exact dynamics constraint. Residual signs depend on convention, so the definition is supplied explicitly rather than inferred from a solver's status label.

  12. 12.An optimization has free state variables x0,…,xN, fixes x0=0,xN=10, and minimizes input effort. It accidentally omits every equation linking states to inputs. What artifact can it produce?

    Show answer and explanation
    1. A certified zero-effort physical transfer
    2. A valid trajectory with the same dynamics and merely different timing
    3. A zero-input state sequence violating the intended dynamics
    4. A proof that no input is required by the actual system

    Answer: A zero-input state sequence violating the intended dynamics

    Unlinked states can satisfy endpoint constraints without representing an actual evolution. A numerical optimum of the incomplete program is not a solution of the intended control problem. Validate the formulation's dynamics and all required interval constraints.

  13. 13.Direct shooting eliminates explicit state decision variables by simulating states from controls and a fixed initial state. Does that elimination also remove a required terminal-position constraint?

    Show answer and explanation
    1. Yes; forward simulation automatically reaches every requested terminal state
    2. Yes; eliminating state variables removes every state-dependent constraint
    3. No; terminal constraints cannot be expressed without explicit state variables
    4. No; enforce it on the simulated terminal state

    Answer: No; enforce it on the simulated terminal state

    Elimination changes representation, not the required task. The terminal condition must still be enforced on the state produced by the chosen controls. State constraints, control limits, and other conditions can remain even without independent state variables.

  14. 14.A direct-transcription dynamics row is x(k+1)−f(x(k),u(k))=0. Which variable blocks does this row directly touch, assuming f has no other arguments?

    Show answer and explanation
    1. x(k),u(k),x(k+1)
    2. Only the terminal state and terminal control
    3. Only x(k+1)
    4. Every state at every time necessarily

    Answer: x(k),u(k),x(k+1)

    The stated local dynamics couple adjacent states and the current control. This structure can support sparse methods. Other constraints or objectives can introduce additional couplings, so one local row does not prove that the entire program has the same sparsity.

  15. 15.Multiple shooting simulates separate intervals from independent interval-start states. The program omits matching constraints between one interval's final state and the next one's start. What can be invalid?

    Show answer and explanation
    1. The solver must reject every disconnected sequence even without a matching constraint
    2. Continuity of the assembled dynamic trajectory
    3. A matched initial state makes every later junction match automatically
    4. Valid simulation of each piece guarantees adjacent boundaries agree

    Answer: Continuity of the assembled dynamic trajectory

    Individually valid segments need compatible boundaries to form one executable trajectory. Matching constraints enforce the required state continuity under the method. Without them, a solver can exploit discontinuities between separately simulated pieces.

  16. 16.A collocation solution satisfies its finite defect equations to the requested numerical tolerance. No bound on between-node integration error has been established. What broader claim remains unproven?

    Show answer and explanation
    1. A finite collocation representation exists
    2. The checked defect equations meet their numeric tolerance
    3. Exact continuous dynamics everywhere
    4. Residuals can be computed for the supplied program

    Answer: Exact continuous dynamics everywhere

    Discretized equations and continuous dynamics are related through an approximation scheme and its error. Assess reconstruction and validation at the required scope. A small finite-program residual does not by itself prove a zero-error continuous trajectory.

  17. 17.A trapezoidal defect is r=x1−x0−h(f0+f1)/2. With x0=1,x1=1.5,h=0.2,f0=2,f1=3, what residual follows?

    Show answer and explanation
    1. 1
    2. 0.5
    3. −0.5
    4. 0

    Answer: 0

    The state change is 0.5 and the trapezoidal increment is 0.2×(2+3)/2=0.5, giving residual zero. This checks that equation for the supplied values, not exact continuous feasibility of an arbitrary reconstructed segment.

  18. 18.Velocity is linearly interpolated from 0 to 2 m/s over 0.5 seconds. What displacement follows from integrating that specified interpolation?

    Show answer and explanation
    1. 1 m
    2. 0.25 m
    3. 2 m
    4. 0.5 m

    Answer: 0.5 m

    The average velocity is (0+2)/2=1 m/s. Over 0.5 seconds the displacement is 0.5 m. Endpoint values alone would not determine displacement without an intervening velocity model; the linear interpolation is essential to this result.

  19. 19.A continuous effort cost is ∫u(t)²dt. A constant input u=2 lasts 3 seconds. What is the cost, regardless of how many equal sampling intervals represent it?

    Show answer and explanation
    1. 12
    2. 4
    3. 120
    4. 6

    Answer: 12

    The integrand is 4 throughout a 3-second interval, so the integral is 4×3=12. A consistent discrete approximation includes the interval duration. An unweighted sum can change merely because the mesh has more samples.

  20. 20.For ẋ=u, x(0)=0,x(T)=3, a constant input u=3/T has effort ∫u²dt=9/T. If T is free and unbounded above with no time penalty, what issue occurs?

    Show answer and explanation
    1. The terminal position cannot be reached for any positive T
    2. Effort necessarily increases with T
    3. A unique finite optimum must occur at T=3
    4. The effort infimum is approached by taking arbitrarily long duration

    Answer: The effort infimum is approached by taking arbitrarily long duration

    As T grows, 9/T approaches zero but stays positive for every finite T. This formulation need not have a finite-duration minimizer. An operating task may need a duration bound, timing objective, or another properly justified tradeoff.

  21. 21.A trajectory program treats interval durations h as variables but allows h≤0. The intended task requires forward physical time with strictly positive intervals. What constraint is missing?

    Show answer and explanation
    1. Variable names automatically restrict durations to physical values
    2. An elapsed-time objective supplies every omitted domain restriction
    3. The positive-time domain
    4. A terminal state forces every interval duration to be positive

    Answer: The positive-time domain

    Decision-variable names do not enforce physical meaning. Specify the required time domain and relevant duration constraints in the mathematical program. Otherwise collapsed or backward intervals may satisfy an unintended algebraic formulation.

  22. 22.A jerk-squared cost is used, but the trajectory representation permits jumps in acceleration between segments without penalizing those junctions. What smoothness claim is unsupported?

    Show answer and explanation
    1. A junction can have its own continuity constraints
    2. The chosen representation affects what is penalized
    3. Finite segment-interior cost guarantees globally smooth acceleration
    4. The interior integral can be evaluated on each segment

    Answer: Finite segment-interior cost guarantees globally smooth acceleration

    Piecewise objectives apply to the terms actually modeled. An acceleration jump is not removed merely by minimizing a smooth interior cost while omitting the junction behavior. Enforce the required continuity and interpret derivative costs for the actual representation.

  23. 23.Two adjacent polynomial position segments meet at the same position and velocity, but their accelerations at the join differ. Which continuity class is established there for position?

    Show answer and explanation
    1. Discontinuous position
    2. C1, but not C2 at that join
    3. C2 necessarily
    4. C3 necessarily

    Answer: C1, but not C2 at that join

    Matching position and first derivative gives C1 continuity; the unequal second derivatives prevent C2. State the required derivative order explicitly. A visually smooth path can still violate a load or actuator requirement at a junction.

  24. 24.A rest-to-rest move is represented by a cubic position polynomial with fixed start/end positions and velocities. How many scalar endpoint conditions does that specify?

    Show answer and explanation
    1. 4
    2. 3
    3. 6
    4. 2

    Answer: 4

    Position and velocity at both endpoints give four scalar conditions. A scalar cubic has four coefficients, so these generically determine it for a nonzero duration. Additional endpoint accelerations generally require a richer representation or compatible redundant conditions.

  25. 25.A trajectory's endpoint position error has units of meters and its terminal velocity error has units of meters/second. A solver reports their unscaled numeric sum as a universal physical violation. What should be defined?

    Show answer and explanation
    1. Matching numeric digits makes meters and meters/second interchangeable
    2. Solver tolerances remove the need to specify physical units
    3. A direct mixed-unit sum is a universal physical violation measure
    4. Meaningful scaling and per-constraint acceptance tolerances

    Answer: Meaningful scaling and per-constraint acceptance tolerances

    Constraint residuals need appropriate units, scaling, and acceptance meaning. An arbitrary mixed-unit sum can hide a serious violation or exaggerate a harmless one. Report the relevant components and their required margins rather than treating an unscaled aggregate as a universal metric.

  26. 26.To approximate x²+y²≥1 near (2,0), a method enforces the affine lower bound 4+4(x−2)≥1. What region does this impose?

    Show answer and explanation
    1. x≥1
    2. x≥1.25
    3. x≤1.25
    4. x²+y²≤1

    Answer: x≥1.25

    The affine expression is 4x−4, so 4x−4≥1 gives x≥1.25. Because x²+y² is convex, this affine expression lower-bounds it. Enforcing the lower bound supplies a sufficient inner approximation here, potentially excluding other collision-free points.

  27. 27.A dynamics term is u². Linearization at u=0 gives a zero derivative, although nonzero u changes the true term. What limitation can a first-order subproblem encounter?

    Show answer and explanation
    1. Failure of the local model proves the original nonlinear task infeasible
    2. A zero derivative proves no nonzero input can change the real term
    3. Useful nonlinear effects can be absent from that local model
    4. The tangent represents u² exactly for every input

    Answer: Useful nonlinear effects can be absent from that local model

    At zero the tangent is constant, but u² is positive elsewhere. A local model can omit motion available through nonlinear effects. Interpret failed subproblems under their approximation and use an appropriate method rather than claiming physical infeasibility from a locally flat model.

  28. 28.Let x1=0.5x0+3u, x0=2, and J=(x1−5)²+2u². What is dJ/du at u=1?

    Show answer and explanation
    1. 2
    2. −2
    3. −6
    4. 4

    Answer: −2

    At u=1, x1=4 and x1−5=−1. The chain rule gives 2(x1−5)×3+4u=−6+4=−2. Include both state-mediated and direct input effects when computing the trajectory objective's derivative.

  29. 29.For f(x)=x² at x=1, supplied floating-point arithmetic rounds 1+10⁻²⁰ to 1. A forward difference uses that step. What derivative estimate does it produce?

    Show answer and explanation
    1. 0 instead of the exact derivative 2
    2. 10²⁰
    3. A guaranteed upper bound on the derivative
    4. Exactly 2 because the step is very small

    Answer: 0 instead of the exact derivative 2

    The rounded function inputs coincide, so the computed numerator is zero. Smaller finite-difference steps are not universally more accurate because rounding and cancellation interact with truncation error. A gradient check needs suitable scale and a meaningful error comparison.

  30. 30.Automatic differentiation gives exact derivatives of a coded dynamics function, but that function has the wrong actuator sign. What has differentiation failed to validate?

    Show answer and explanation
    1. Correctness of the coded dynamics model
    2. An erroneous model can be differentiable
    3. The implemented expression can have a computable derivative
    4. The function can accept its inputs

    Answer: Correctness of the coded dynamics model

    Differentiation follows the implemented function. It does not establish that the model, units, signs, frames, or constraints represent the intended system. Use independent model checks as well as derivative checks.

  31. 31.A two-step system has x1=u0,x2=x1+u1 and J=x2². At u0=1,u1=0, what is dJ/du0?

    Show answer and explanation
    1. 0
    2. 4
    3. 2
    4. 1

    Answer: 2

    The first input changes x1 and then x2 with unit sensitivity. Thus dJ/du0=2x2×1=2. Looking only for an immediate cost at the first step would omit its effect on a later state and terminal objective.

  32. 32.Two scalar control impulses must sum to 6. Minimize u1²+u2² with no other constraints. Which allocation minimizes this objective?

    Show answer and explanation
    1. (2,4)
    2. (3,3)
    3. (0,6)
    4. (6,0)

    Answer: (3,3)

    Write u2=6−u1. The objective is u1²+(6−u1)², minimized at u1=3,u2=3. Equivalently, the sum is fixed and equal sharing minimizes the sum of squares. This conclusion concerns the stated effort objective and constraints.

  33. 33.A candidate uses u1=u2=3 to satisfy u1+u2=6. A late actuator check caps u1 at 2. The pipeline clips it to 2 but leaves u2=3. What must be checked or repaired?

    Show answer and explanation
    1. Independent clipping preserves every previously satisfied terminal equality
    2. Only the clipped component’s individual bound needs checking
    3. The original dynamics certificate still applies without recomputing the changed rollout
    4. The coupled terminal sum, now 5

    Answer: The coupled terminal sum, now 5

    Clipping can make one component admissible while breaking dynamics or terminal requirements. Recompute and validate the complete resulting trajectory, using a supported repair or reoptimization. Do not execute an altered control sequence under the original candidate's certificate.

  34. 34.A warm start was feasible for x0=0. The current estimate is x0=0.2, but the optimizer is initialized with the old state sequence unchanged. What is the proper status of that sequence?

    Show answer and explanation
    1. A certified solution because it was previously feasible
    2. A guarantee that current-state changes cannot affect dynamics constraints
    3. An initial guess requiring constraint validation for the new instance
    4. A proof that the new instance is infeasible

    Answer: An initial guess requiring constraint validation for the new instance

    A warm start can reduce work without carrying a feasibility certificate to a changed instance. Reapply initial, dynamics, obstacle, and terminal conditions as relevant. Preserve the distinction between a useful seed and a validated output.

  35. 35.A receding-horizon seed shifts old controls forward by one step and appends an arbitrary final control. The old terminal state was safe. What is not automatically preserved?

    Show answer and explanation
    1. The previous optimization had a terminal state
    2. The new terminal condition and shifted feasibility
    3. The shifted vector can have the requested length
    4. Some previous controls may be reused as a seed

    Answer: The new terminal condition and shifted feasibility

    Shifting changes the initial context and terminal continuation. Validate the seed under the new instance and the method's terminal assumptions. A recursive-feasibility argument requires more than appending an arbitrary control to a once-feasible sequence.

  36. 36.A local trajectory optimizer starts in a left corridor and returns the best route it finds there. A disconnected right-corridor solution may be cheaper. What optimality claim is unsupported without further evidence?

    Show answer and explanation
    1. Global optimality across all feasible route classes
    2. Feasibility of the independently checked left route
    3. That the initialization can affect local convergence
    4. The reported objective of that candidate

    Answer: Global optimality across all feasible route classes

    Nonconvex feasible regions can contain distinct local solutions. A local result is useful within its verified scope but does not exclude a better alternative elsewhere. Use valid lower bounds or other justified global reasoning for a global certificate.

  37. 37.Ten initializations of a nonconvex program converge to the same feasible objective. No exhaustive coverage or matching lower bound is available. What does agreement establish?

    Show answer and explanation
    1. Observed agreement among those runs
    2. Convexity of the original program
    3. A proof of the unique global optimum
    4. A proof that no untried region has a lower solution

    Answer: Observed agreement among those runs

    Repeated successful runs can increase practical confidence but are not a universal optimality certificate. Record seeds, outcomes, validity, and remaining uncertainty. A claim beyond observed multistart behavior needs an appropriate argument or bound.

  38. 38.For a constraint T≤B, the Lagrangian uses λ(T−B). Assume regular local sensitivity applies and λ=3 cost units/second. Approximately how does optimal cost change for a small increase ΔB=0.1 second?

    Show answer and explanation
    1. It decreases by 3 cost units
    2. It decreases by 0.3 cost units
    3. It increases by 0.3 cost units
    4. It cannot change under the stated sensitivity model

    Answer: It decreases by 0.3 cost units

    With the supplied convention, the local value derivative with respect to B is −λ. The first-order change is −3×0.1=−0.3. This is a local sensitivity approximation under the explicit regularity assumptions, not a guaranteed finite-change forecast across active-set transitions.

  39. 39.Minimize x² subject to 2−x≤0. With L=x²+λ(2−x), what multiplier satisfies stationarity at the optimum x=2?

    Show answer and explanation
    1. −4
    2. 0
    3. 2
    4. 4

    Answer: 4

    Stationarity gives 2x−λ=0, so λ=4 at x=2. It is nonnegative and complementary to the active constraint. This simple convex example permits direct verification; KKT interpretation for general nonconvex or irregular programs needs its actual assumptions.

  40. 40.At a KKT point with inequality g(x)≤0, the constraint is strictly inactive, g(x)<0. Complementary slackness is λg(x)=0. What follows for its multiplier?

    Show answer and explanation
    1. λ equals the constraint's negative residual
    2. λ=0
    3. λ>0 necessarily
    4. λ<0 necessarily

    Answer: λ=0

    A nonzero negative g multiplied by λ can equal zero only when λ=0. This is a statement at the specified KKT point. It does not imply that the constraint can be removed safely from every nearby or future optimization instance.

  41. 41.A program softens a required distance bound using slack s≥0. Its final candidate has s=0.2. The original task permits no violation. What report is accurate?

    Show answer and explanation
    1. A variable named slack makes every original physical condition satisfied
    2. A successful relaxed solve changes a positive slack into zero
    3. The slack violates the original hard bound
    4. Any positive slack in one candidate proves global original infeasibility

    Answer: The slack violates the original hard bound

    Softening changes feasibility. Report slack meaning, scale, and acceptance explicitly and validate against the original task. A feasible relaxed solution is not automatically a feasible original solution, and its slack alone is not a global infeasibility proof.

  42. 42.For f(x)=(x−2)²+max(0,x−1), with no hard constraint, what x minimizes the penalized objective?

    Show answer and explanation
    1. 1
    2. 0
    3. 2
    4. 1.5

    Answer: 1.5

    For x>1, f′=2(x−2)+1=2x−3, giving x=1.5. Its value 0.75 is lower than f(1)=1. This finite linear penalty does not enforce the intended bound x≤1 at the supplied weight; penalty behavior requires actual analysis.

  43. 43.Consider (x−2)²+ρ max(0,x−1)² with finite ρ>0 and no hard bound. Its minimizer is x=1+1/(1+ρ). What hard-feasibility claim fails?

    Show answer and explanation
    1. Larger ρ moves the minimizer toward 1
    2. The minimizer exceeds 1 for every finite ρ>0
    3. The violation approaches zero as ρ grows without bound
    4. Every finite penalty weight guarantees x≤1

    Answer: Every finite penalty weight guarantees x≤1

    The supplied formula gives a strictly positive violation 1/(1+ρ) for every finite positive ρ. A penalty can reduce a violation without eliminating it. Interpret the formulation and acceptance criteria rather than assuming a large numeric weight is a hard constraint.

  44. 44.A trajectory has 100 scalar constraint residuals: 99 are zero and one is 1. The required bound is each residual≤0.001. The mean is 0.01. What acceptance test matches the requirement?

    Show answer and explanation
    1. Accept because a mean replaces every component limit
    2. Accept because most residuals are zero
    3. Check the relevant maximum/component violations
    4. Ignore the outlier because the solve returned a vector

    Answer: Check the relevant maximum/component violations

    A componentwise contract is not an average contract. The residual 1 exceeds 0.001, so this candidate fails. Aggregates can summarize optimization behavior, but validation must preserve the actual constraint logic and units.

  45. 45.A curve is a weighted sum of control points with nonnegative weights summing to one at every time. All control points lie in one convex safe region. What follows for the entire curve?

    Show answer and explanation
    1. All control-input and dynamic limits follow from point containment alone
    2. It remains in that convex region
    3. Only the control points are contained; the curve must leave the convex region
    4. The curve necessarily has constant speed

    Answer: It remains in that convex region

    A convex region contains every convex combination of its points. This supplies a geometric containment certificate under the stated representation. It does not establish dynamics, optimality, or safety beyond the region and model actually used.

  46. 46.A cubic Bézier curve over T=2 has scalar control points (0,1,1,2). Its velocity is a convex combination of 3(Pi+1−Pi)/T. What maximum derivative-control value gives the convex-hull velocity bound?

    Show answer and explanation
    1. 3
    2. 0.75
    3. 1.5
    4. 2

    Answer: 1.5

    The velocity control values are 1.5,0,1.5. A convex combination lies between their minimum and maximum, so velocity is at most 1.5. This bound depends on the supplied time normalization and derivative representation.

  47. 47.A position segment is q(t)=4t(1−t), 0≤t≤1. Its endpoints are zero, but the bound requires q≤0.8 throughout. What does evaluating t=0.5 show?

    Show answer and explanation
    1. The maximum is necessarily at an endpoint
    2. The polynomial is identically zero
    3. An interior violation, q=1
    4. The segment is valid because both endpoints pass

    Answer: An interior violation, q=1

    At t=0.5, q=4×0.5×0.5=1>0.8. Endpoint checks alone do not establish a polynomial bound throughout an interval. Use a justified extremum, envelope, or other appropriate continuous validation method.

  48. 48.A trajectory with finite jerk-squared integral is uniformly slowed by factor 2, with endpoints and the whole time interval scaled consistently. What factor multiplies ∫jerk²dt?

    Show answer and explanation
    1. 2
    2. 1/64
    3. 1/8
    4. 1/32

    Answer: 1/32

    Jerk scales by 1/8, its square by 1/64, and the duration element by 2. The integral therefore scales by 2/64=1/32. Pointwise derivative scaling and integral-cost scaling are different quantities.

  49. 49.An objective adds duration T, in seconds, to β times a jerk-squared integral measured in m²/s⁵. What units must β have so both terms are in seconds?

    Show answer and explanation
    1. s⁵/m²
    2. Unitless
    3. s⁶/m²
    4. m²/s⁶

    Answer: s⁶/m²

    The product β×m²/s⁵ must have units s, so β needs s⁶/m². Explicit normalization or dimensioned weights can make a tradeoff meaningful. Numeric weights should be interpreted with the chosen units and scaling.

  50. 50.A fixed path must be traversed in its defined forward order. Its time law s(t) is a decision variable. What condition prevents reversal of path progress?

    Show answer and explanation
    1. ṡ(t)≥0 throughout the required interval
    2. Only s(T)>s(0)
    3. A guarantee that an increasing endpoint difference makes the entire time law monotone
    4. Only positive total elapsed duration

    Answer: ṡ(t)≥0 throughout the required interval

    A positive net change permits temporary decreases. Enforce or otherwise certify the required monotonicity of path progress over the whole interval. Endpoint conditions alone do not establish the direction of every intervening traversal.

  51. 51.A discrete system has x(k+1)=x(k)+u(k), x0=0, two steps, and −1≤u(k)≤1. The required final state is x2=3. What certificate excludes that target?

    Show answer and explanation
    1. A local solver's timeout alone
    2. A feasible input pair summing to 3 exists within the stated bounds
    3. The largest reachable x2 is 2
    4. The effort cost is nonnegative

    Answer: The largest reachable x2 is 2

    The final state equals u0+u1, at most 1+1=2. Thus 3 is unreachable in this two-step model. This analytic reachability bound is stronger evidence than a solver failure and depends on the supplied discretization and input limits.

  52. 52.A nominal optimizer chooses piecewise-constant torque with jumps. The actuator contract requires a finite torque slew rate and cannot realize instantaneous jumps. What must the output pipeline address?

    Show answer and explanation
    1. Rate-constrained reconstruction or actuator dynamics
    2. Ideal torque jumps become physically instantaneous merely because they are sampled
    3. The nominal hold representation certifies every real actuator transition
    4. Amplitude limits alone imply every required slew-rate bound

    Answer: Rate-constrained reconstruction or actuator dynamics

    Amplitude and rate constraints differ. A sequence of individually bounded torque levels can still require unavailable transitions. Model, reconstruct, and validate the actuator behavior appropriate to the system instead of assuming an ideal hold command is directly executable.

  53. 53.An input slew limit is 2 units/second and consecutive samples are 0.1 second apart. A candidate changes the input by 0.5 unit. Under a linear intersample ramp, does it pass?

    Show answer and explanation
    1. No; the maximum allowed change is 0.2 unit
    2. Yes; 0.5 is below 2
    3. Yes; the sample period does not affect rate
    4. No; every nonzero input change is forbidden

    Answer: No; the maximum allowed change is 0.2 unit

    The change limit is rate×time=2×0.1=0.2. The candidate's ramp rate is 0.5/0.1=5, exceeding 2. Check rate constraints in the correct time scale and reconstruction model.

  54. 54.Two position segments meet continuously but have a velocity jump at their join. The physical model permits only bounded acceleration. What feasibility problem remains?

    Show answer and explanation
    1. Any finite waypoint count makes the jump physically realizable
    2. The instantaneous velocity change is incompatible with that acceleration bound
    3. Position continuity alone guarantees bounded acceleration
    4. Only the geometric path length changes

    Answer: The instantaneous velocity change is incompatible with that acceleration bound

    Bounded acceleration makes velocity continuous over time. A velocity jump would require an impulsive change outside this model. Enforce the appropriate derivative continuity or a valid transition segment, not just coincident position endpoints.

  55. 55.A continuous system has ẋ=u, abs(u)≤2, x(0)=0, and x(T)=5. An optimizer searches only T≤2. What duration bound proves the search domain infeasible?

    Show answer and explanation
    1. T≥1
    2. T≥2.5
    3. T≤2.5
    4. T=2 is always feasible

    Answer: T≥2.5

    The displacement satisfies abs(∫u dt)≤2T, so reaching 5 needs T≥5/2=2.5. The chosen upper bound 2 excludes every feasible duration. Distinguish this formulation restriction from an unqualified claim that the physical target is unreachable.

  56. 56.A system's input has a fixed 0.3-second delay. Prior inputs are zero, and no other motion source exists. A trajectory requires a nonzero state change within 0.2 second using newly chosen inputs. What limitation is decisive?

    Show answer and explanation
    1. New inputs cannot affect the state inside that horizon
    2. The input's numeric value matters before its effect can arrive
    3. An instantaneous discrete model is automatically equivalent
    4. A sufficiently large optimizer iteration count removes physical delay

    Answer: New inputs cannot affect the state inside that horizon

    Under the given delay, new commands have no effect before 0.3 second. The 0.2-second requirement cannot be met by those commands. Include delayed-input history and the actual actuation model when assessing the trajectory.

  57. 57.A hold requires constant torque 2 for T seconds. A supplied thermal proxy is ∫τ²dt≤12. Can extending the hold to T=4 satisfy that proxy?

    Show answer and explanation
    1. No; the proxy equals 4
    2. No; the proxy equals 16
    3. Yes; the proxy equals 8
    4. Yes; slower always reduces every integral load

    Answer: No; the proxy equals 16

    The constant integrand is 2²=4, giving 4×4=16>12. Longer duration can increase accumulated load even when motion derivatives shrink. This is the stated proxy, not an empirical motor-temperature model.

  58. 58.One scalar input must satisfy u≥2 and u≤1 at the same instant. What does this pair of constraints establish?

    Show answer and explanation
    1. The constraints concern cost only
    2. A feasible input exists at u=1.5
    3. More solver time necessarily finds a value
    4. The instantaneous feasible input set is empty

    Answer: The instantaneous feasible input set is empty

    No real number lies in both intervals. This direct contradiction is an infeasibility certificate for the supplied condition. Report which bounds conflict rather than treating every failed solve as a generic numerical problem.

  59. 59.A hybrid model requires mode z∈{0,1}. Its relaxed solution has z=0.4 and a lower objective than every known integer-mode candidate. What is its execution status?

    Show answer and explanation
    1. It is not a valid discrete-mode solution
    2. The system necessarily realizes any fractional mixture of its named modes
    3. A lower relaxed objective makes fractional modes executable
    4. A fractional relaxed solution proves there are no integer-mode solutions

    Answer: It is not a valid discrete-mode solution

    A relaxation can supply useful bounds or seeds while allowing states the physical mode contract excludes. Obtain and validate an admissible mode/control trajectory. Fractional mode values do not become executable simply because the relaxed program is feasible.

  60. 60.A contact model requires gap d≥0, normal force λ≥0, and complementarity dλ=0. Candidate d=0.1,λ=5 passes the two sign checks. What fails?

    Show answer and explanation
    1. Nothing; sign checks imply complementarity
    2. The force nonnegativity bound
    3. The gap nonnegativity bound
    4. Complementarity, since dλ=0.5

    Answer: Complementarity, since dλ=0.5

    Positive separation and positive contact force violate the stated no-force-without-contact condition. The product is 0.1×5=0.5, not zero. Enforce the coupled model, not just its individual variable bounds.

  61. 61.A contact relaxation permits dλ≤ε. A returned point has d>0,λ>0 and product ε/2. What must be distinguished when validating it?

    Show answer and explanation
    1. A proof that the exact product is zero
    2. A guarantee that every relaxed contact point is physically exact
    3. Only the contact pair's display name
    4. Feasibility of the relaxation versus exact complementarity

    Answer: Feasibility of the relaxation versus exact complementarity

    A positive allowed product meets the relaxed inequality but not dλ=0. Evaluate the required physical or engineering tolerance under the actual contact model. A relaxation's feasibility cannot silently substitute for a stricter original condition.

  62. 62.A planar friction constraint is abs(Ft)≤μFn, with μ=0.5 and Fn=10. The candidate has abs(Ft)=6. What is its status?

    Show answer and explanation
    1. It exceeds the tangential limit by 1
    2. It is valid because μ is positive
    3. It is valid because 6 is below Fn
    4. It has 1 unit of friction margin

    Answer: It exceeds the tangential limit by 1

    The tangential limit is 0.5×10=5, so 6 exceeds it by 1. The stated friction model couples normal and tangential force. A separate comparison with the normal force would implement a different constraint.

  63. 63.A system has ẋ=u and ẏ=0, with y(0)=0. The task requires y(T)=1 without any mode switch or other control. What follows?

    Show answer and explanation
    1. The target is unreachable under the stated model
    2. A free terminal-time variable creates y control authority
    3. A larger input amplitude necessarily changes y
    4. A sufficiently smooth x trajectory changes y indirectly

    Answer: The target is unreachable under the stated model

    Integrating ẏ=0 preserves y(t)=0 for all times in this model. An optimizer cannot create absent control authority. Validate controllable directions and task constraints before interpreting solver difficulty as merely a tuning issue.

  64. 64.A direct program constrains its terminal state but accidentally leaves the initial state free. It chooses an initial state already at the goal and reports zero effort. What task condition was omitted?

    Show answer and explanation
    1. The actual initial-state boundary condition
    2. Only the terminal cost weight
    3. Only the solver's maximum iteration count
    4. A guarantee that dynamics constraints determine the intended initial state

    Answer: The actual initial-state boundary condition

    A valid task starts from the specified system state. Free initial conditions can let an optimizer solve a different problem with an easier origin. Check boundary conditions as well as interval dynamics and terminal requirements.

  65. 65.A finer mesh gives a lower objective, but each mesh uses a different dynamics approximation. Neither candidate has been evaluated under a common reference model. What improvement claim is unverified?

    Show answer and explanation
    1. The reported discrete objectives differ
    2. The meshes use different representations
    3. Improvement under a common required validation model
    4. The outputs can be compared with further validation

    Answer: Improvement under a common required validation model

    Discretization changes can alter feasibility and the represented objective. Compare reconstructed candidates under the required consistent model and tolerances. A smaller number from a changed program is not alone proof of a better physical trajectory.

  66. 66.A variable is rescaled by y=1000x. All objectives, constraints, and derivatives are transformed consistently and the transformation is invertible. What should remain unchanged mathematically?

    Show answer and explanation
    1. Every matrix's numerical conditioning
    2. The optimal physical x solutions
    3. Every numeric gradient entry
    4. Every solver's exact iteration sequence

    Answer: The optimal physical x solutions

    An invertible consistent change of variables preserves the represented feasible solutions and objective ordering in physical coordinates. Numeric conditioning and solver behavior can change. Distinguish mathematical equivalence from identical floating-point execution.

  67. 67.A sequential method's local model is justified only inside a stated trust region. A proposed update lies outside it. What should acceptance evaluate?

    Show answer and explanation
    1. A local prediction outside its stated scope is a full feasibility certificate
    2. Any smaller predicted cost guarantees a valid nonlinear update
    3. Finite entries alone establish that the proposed step is acceptable
    4. The valid step policy and original nonlinear problem

    Answer: The valid step policy and original nonlinear problem

    A local approximation has an applicability region and an acceptance protocol. Assess the actual step under the method and original problem rather than treating an extrapolated prediction as a certificate. Finite numeric values do not establish validity.

  68. 68.A linearized subproblem predicts zero constraint violation. After the step, evaluating the original nonlinear constraint gives g(x)=0.2 with required g≤0. What is established?

    Show answer and explanation
    1. The original constraint is satisfied because the linearization passed
    2. Every trajectory in the original problem is infeasible
    3. The nonlinear candidate is infeasible despite the subproblem's prediction
    4. A zero local-model residual changes 0.2 into zero

    Answer: The nonlinear candidate is infeasible despite the subproblem's prediction

    Evaluate the actual nonlinear constraints and the relevant acceptance policy. A feasible subproblem point may violate the original program after linearization. This candidate's failure is not a global infeasibility proof.

  69. 69.Two feasible trajectories have equal objective but sharply different first controls. A solver switches between them as small inputs change. What continuity property does equal objective alone not ensure?

    Show answer and explanation
    1. Feasibility of independently checked candidates
    2. Smooth variation of the selected command
    3. The existence of multiple solutions
    4. Equality of the stated objective values

    Answer: Smooth variation of the selected command

    Objective ties can permit discontinuous selections. If command continuity is required, address it through a valid formulation, selection policy, or execution model and validate the resulting behavior. Scalar objective equality does not impose continuity on the chosen optimizer output.

  70. 70.A time-limited solver stops before proving optimality. Its returned trajectory independently passes every required feasibility check. What status is justified?

    Show answer and explanation
    1. Independent feasibility establishes a global optimum automatically
    2. An interrupted optimizer necessarily returns an infeasible trajectory
    3. Failure to complete optimization proves the original program infeasible
    4. Feasible candidate; optimality unproven

    Answer: Feasible candidate; optimality unproven

    Feasibility and optimality are different evidence boundaries. A verified feasible incumbent can be usable under the task's acceptance and timing rules without a global optimum certificate. Report objective bounds or remaining gap where available.

  71. 71.A program repeats the same equality constraint twice. Its linearized constraint Jacobian loses row independence, and a numerical method fails. What does that failure alone not prove?

    Show answer and explanation
    1. That a solver can encounter rank-related difficulty
    2. That the formulation contains redundant rows
    3. That an equivalent better-conditioned formulation may exist
    4. Physical infeasibility of the underlying task

    Answer: Physical infeasibility of the underlying task

    Redundant constraints can create numerical or regularity problems without changing the feasible set. Diagnose formulation rank and solver requirements before attributing failure to the physical task. An algorithm failure is not automatically a valid infeasibility certificate.

  72. 72.A feasible trajectory costs 8, and a valid global lower bound for the same original program is 5. What certified absolute suboptimality bound follows?

    Show answer and explanation
    1. At most 3
    2. Zero
    3. Exactly 3
    4. At least 3

    Answer: At most 3

    The unknown optimum lies between 5 and 8, so the incumbent exceeds it by at most 8−5=3. The bound need not be tight. Both the lower bound's scope and the incumbent's feasibility must match the original objective and constraints.

  73. 73.An optimizer produces dual-feasible variables but has no primal-feasible trajectory. The operating system needs an executable motion. What is still missing?

    Show answer and explanation
    1. Any dual multiplier vector uniquely reconstructs an executable trajectory
    2. A dual lower bound is itself a physical command sequence
    3. A validated primal motion
    4. Only the display precision of the dual variables is missing

    Answer: A validated primal motion

    Dual evidence can bound an optimum without supplying an executable candidate. Execution requires the appropriate primal states and controls validated against the task. Do not confuse a certificate about cost with a feasible physical motion.

  74. 74.A candidate costs 4 but violates a required hard constraint. The team calls 4 an upper bound on the original problem's minimum. What is wrong with that certificate?

    Show answer and explanation
    1. Every evaluated cost is a feasible upper bound
    2. Only the candidate's mesh size matters
    3. A low objective value repairs the hard constraint automatically
    4. An infeasible candidate does not supply a feasible upper bound

    Answer: An infeasible candidate does not supply a feasible upper bound

    A minimization upper bound can come from a feasible original solution. A point outside that feasible set may have an arbitrarily low cost without bounding the optimum from above. Validate the candidate before assigning it that role.

  75. 75.For one minimization program, a primal-feasible trajectory and a valid dual-feasible lower bound have exactly equal finite objective values. What does weak duality establish?

    Show answer and explanation
    1. Uniqueness of the trajectory necessarily
    2. Exact agreement with every future physical deployment
    3. Safety under every unmodeled disturbance
    4. Global optimality for that mathematical program

    Answer: Global optimality for that mathematical program

    A valid lower bound cannot exceed the optimum, and a feasible objective cannot be below it. Equality closes the gap and certifies the program's optimum. This does not establish uniqueness or validate omitted physical modeling assumptions.

  76. 76.For least-squares cost J=r(u)² with r(u)=u²+2, evaluate at u=1. Gauss–Newton uses Hessian approximation 2r′². How much curvature does it omit relative to the exact Hessian?

    Show answer and explanation
    1. 8
    2. 12
    3. 20
    4. 0

    Answer: 12

    Here r=3,r′=2,r″=2. The exact Hessian is 2r′²+2rr″=8+12=20, while the approximation is 8. The omitted term is 12. A useful positive-semidefinite approximation need not equal the exact nonlinear curvature.

  77. 77.An unconstrained Newton model has Hessian diag(−1,2). Adding 2I gives diag(1,4). What property does this regularized matrix have?

    Show answer and explanation
    1. It is necessarily singular
    2. It proves the original nonlinear objective is globally convex
    3. Positive definiteness
    4. A negative eigenvalue remains

    Answer: Positive definiteness

    Both regularized eigenvalues, 1 and 4, are positive. This can improve a local step model, but it changes that model's curvature rather than proving global convexity of the original problem. Constraint feasibility still needs separate treatment.

  78. 78.Minimize J(u)=−u over 0≤u≤1. The minimum is at u=1, where J′=−1. What does this show about constrained optimality?

    Show answer and explanation
    1. A constrained optimum need not have zero unconstrained gradient
    2. The endpoint cannot be optimal because its derivative is nonzero
    3. The feasible set must be nonconvex
    4. Every optimum must be an interior stationary point

    Answer: A constrained optimum need not have zero unconstrained gradient

    The improving unconstrained direction increases u, which is infeasible at the upper bound. Constrained conditions account for feasible directions and multipliers. Applying an unconstrained zero-gradient test alone would reject this valid boundary optimum.

  79. 79.A real-valued barrier uses −log(1−u) for the domain u<1. A seed has u=1.2. What must the method account for?

    Show answer and explanation
    1. The seed is outside the barrier's real-valued domain
    2. Only the seed's objective weight matters
    3. A barrier's name enforces all constraints without domain handling
    4. The logarithm is automatically valid for every real u

    Answer: The seed is outside the barrier's real-valued domain

    At u=1.2, 1−u is negative, so this real logarithm is not defined. A method needs a suitable initialization or supported feasibility-restoration strategy. This domain problem does not by itself prove that the original constrained program has no solution.

  80. 80.A scalar program minimizes u² subject to (u−2)⁴≤0. Its only feasible point is u=2. At that point the objective derivative is 4 and the constraint derivative is 0. Can any finite multiplier satisfy stationarity?

    Show answer and explanation
    1. No feasible point exists
    2. No; regularity is an issue despite a valid optimum
    3. Yes; λ=4 makes 4+λ×0 zero
    4. Yes; every multiplier satisfies stationarity

    Answer: No; regularity is an issue despite a valid optimum

    The constraint forces u=2, so that point is optimal, but stationarity would require 4+λ×0=0, impossible for finite λ. Constraint qualifications matter when invoking necessary KKT conditions. A poorly regular representation can defeat that certificate without removing the feasible optimum.

  81. 81.Minimize 0.5u² subject to two identical inequalities 3−u≤0. At u=3, multipliers λ1,λ2 are nonnegative. What does stationarity identify?

    Show answer and explanation
    1. Both multipliers must be zero
    2. The duplicate constraints make every feasible point nonoptimal
    3. λ1+λ2=3, not a unique individual split
    4. λ1=λ2=3 necessarily

    Answer: λ1+λ2=3, not a unique individual split

    Stationarity is u−λ1−λ2=0, giving the sum 3. Many nonnegative pairs share that sum. Redundant constraints can make individual multipliers nonunique, so an interpretation of one multiplier needs the formulation and identifiability conditions.

  82. 82.A stochastic input is +2 or −2 with equal probability. The effort is u². What error results from replacing expected effort by the squared expected input?

    Show answer and explanation
    1. It proves the input distribution is deterministic
    2. It is exact because expectation commutes with every nonlinear function
    3. It gives 4 instead of 0
    4. It gives 0 instead of the true expected effort 4

    Answer: It gives 0 instead of the true expected effort 4

    E[u]=0, but E[u²]=(4+4)/2=4. Nonlinear objectives generally require the relevant distributional moments. Optimizing a mean signal is not automatically equivalent to optimizing expected effort.

  83. 83.A model term is x². A random state is equally likely to be −1 or 1. What quantity is lost by propagating that term using only the mean x=0?

    Show answer and explanation
    1. A nonlinear model always propagates means exactly
    2. The term's expectation is −1
    3. The two states have different squares
    4. The term's expectation is 1, not 0

    Answer: The term's expectation is 1, not 0

    Both possible states have square 1, so E[x²]=1 while E[x]²=0. Nonlinear stochastic propagation may need variance or other distribution information. A deterministic mean trajectory can omit effects that matter to feasibility or cost.

  84. 84.An actual input is u=unom+2e, with abs(e)≤0.3 and required abs(u)≤1. The optimizer proposes unom=0.7. Does that nominal value guarantee the bound for all permitted e?

    Show answer and explanation
    1. Yes; feedback corrections cannot violate an amplitude limit
    2. No; every possible error makes u exceed 1
    3. Yes; 0.7 is below 1
    4. No; e=0.3 gives u=1.3

    Answer: No; e=0.3 gives u=1.3

    The allowed correction can add 2×0.3=0.6, producing 1.3. A robust formulation must account for the actual input envelope, not only the nominal command. Under this model, a symmetric sufficient tightening would require abs(unom)≤0.4.

  85. 85.Two disturbance scenarios are indistinguishable when the first control must be chosen. An optimizer assigns different first controls to them by using the future disturbance label. What information constraint is violated?

    Show answer and explanation
    1. Only the number of future branches determines information availability
    2. Nonanticipativity of the executable policy
    3. A scenario-specific open-loop optimum is always an executable common policy
    4. Scenario labels are guaranteed observable before any control decision

    Answer: Nonanticipativity of the executable policy

    Controls chosen before an observation must agree across scenarios with the same available history. A scenario-specific future-informed solution can be an optimistic bound rather than an executable policy. Model when information becomes available, not just possible future states.

  86. 86.A path-progress law is s(t)=t³−2t²+t on [0,1]. Its derivative is 3t²−4t+1. What does t=2/3 reveal if forward progress requires ṡ≥0?

    Show answer and explanation
    1. The derivative is 1/3
    2. The derivative is −1/3, violating forward monotonicity
    3. The derivative is zero
    4. Endpoint progress alone proves monotonicity

    Answer: The derivative is −1/3, violating forward monotonicity

    At 2/3, the derivative is 4/3−8/3+1=−1/3. A time law must satisfy its required derivative bound throughout the interval. This candidate reverses progress over part of its domain even though it is a smooth polynomial.

  87. 87.A position polynomial is q(s)=5s²−4s³ on [0,1]. It satisfies q(0)=0 and q(1)=1. Does it also satisfy a required terminal derivative q′(1)=0?

    Show answer and explanation
    1. Yes; fixed endpoint positions imply rest at both ends
    2. Yes; every cubic has zero endpoint velocity
    3. No; q′(1)=−2
    4. No; q′(1)=2

    Answer: No; q′(1)=−2

    The derivative is 10s−12s², giving 10−12=−2 at s=1. Position constraints do not impose derivative constraints. With a physical time law, the actual terminal velocity must also incorporate the appropriate chain-rule factor.

  88. 88.A segment q(t)=t⁴−2t³ on [0,1] has acceleration 12t²−12t. End accelerations are zero. What largest acceleration magnitude occurs inside this interval?

    Show answer and explanation
    1. 12 at t=1
    2. 0 because both endpoints are zero
    3. 6 at t=0.5
    4. 3 at t=0.5

    Answer: 3 at t=0.5

    The quadratic acceleration has its minimum where its derivative 24t−12 is zero, t=0.5. There a=3−6=−3; endpoints give zero. Continuous derivative bounds need appropriate extrema checks, not endpoint observations alone.

  89. 89.A defect is r=xnext−x−hu. Treat xnext,x,u,h as independent decision variables. What is the partial derivative ∂r/∂h?

    Show answer and explanation
    1. −x
    2. 0
    3. −u
    4. −hu

    Answer: −u

    Holding the other decision variables fixed, the h-dependent term is −hu, giving −u. Free-time transcription derivatives must include interval-duration dependence. A derivative for a fixed-time formulation cannot simply omit the new variable.

  90. 90.Normalize physical time using t=Tσ, σ∈[0,1], for ẋ=u. With constant u=2,T=3,x(0)=0, what terminal x follows from the correctly scaled normalized dynamics?

    Show answer and explanation
    1. 2
    2. 2/3
    3. 6
    4. 3

    Answer: 6

    The chain rule gives dx/dσ=T u=6. Integrating over a unit σ interval gives x(1)=6. Omitting the factor T would change the physical problem, even though the normalized domain always has length one.

  91. 91.A validated control signal uses zero-order hold. A conversion stage replaces it with linear interpolation between the same samples. Dynamics are input-sensitive. What must be validated again?

    Show answer and explanation
    1. Only the original hold-based rollout
    2. A guarantee that equal samples imply equal intervening inputs
    3. The trajectory generated by the changed continuous input signal
    4. Only whether the sample timestamps are ordered

    Answer: The trajectory generated by the changed continuous input signal

    A reconstruction rule is part of the command contract. Equal sample values at knots do not imply equal input between knots or equal integrated states. Evaluate the actual signal and its state/control limits before transferring the original certificate.

  92. 92.An obstacle penalty is a constant positive number throughout the colliding region and zero outside. A local point lies strictly inside that region. What gradient-based limitation can occur?

    Show answer and explanation
    1. The obstacle disappears because the cost is constant nearby
    2. The penalty supplies no local direction toward escape
    3. A zero gradient proves collision freedom
    4. A positive penalty necessarily has a nonzero gradient everywhere

    Answer: The penalty supplies no local direction toward escape

    A locally constant penalty has zero derivative within its region. Its positive value can indicate a problem without providing a useful local search direction. Choose and validate a formulation suited to the geometry and solver; a penalty's magnitude alone does not determine its derivative.

  93. 93.For unconstrained J(x)=(x−1)² at x=0, a method takes a tiny step of 10⁻¹² and stops solely because the step is small. What does that stopping event not establish?

    Show answer and explanation
    1. The numeric step is small
    2. Stationarity or optimality
    3. The objective is differentiable
    4. The stopping rule triggered

    Answer: Stationarity or optimality

    Near zero the gradient is about −2, despite the tiny chosen step. Small steps can arise from scaling, restrictions, or algorithm behavior rather than convergence to an optimum. Interpret termination using suitable residuals and the problem's actual acceptance conditions.

  94. 94.A symmetric positive-definite Hessian has eigenvalues 10⁻⁶ and 10⁶. What is its 2-norm condition number?

    Show answer and explanation
    1. 10⁶
    2. 10¹²
    3. 1
    4. 10⁻¹²

    Answer: 10¹²

    For this positive-definite matrix, the condition number is the ratio of largest to smallest eigenvalue: 10⁶/10⁻⁶=10¹². Positive definiteness does not imply good numerical conditioning. Scaling and method choice can matter even for a convex local model.

  95. 95.A transcription stores 11 state knots with 4 scalars each and 10 control intervals with 2 scalars each. Before eliminating fixed variables or adding time/slack variables, how many scalars are represented?

    Show answer and explanation
    1. 44
    2. 64
    3. 88
    4. 60

    Answer: 64

    There are 11×4=44 state scalars and 10×2=20 control scalars, totaling 64. State-knot and control-interval counts differ. Variable elimination or additional constraints can change the final program, so the counting scope is explicit.

  96. 96.For x(k+1)=2x(k)+u(k), x0 fixed, and horizon N=10, what is ∂x10/∂u0?

    Show answer and explanation
    1. 2
    2. 1024
    3. 10
    4. 512

    Answer: 512

    u0 contributes once to x1, then its effect doubles through nine further transitions. The sensitivity is 2⁹=512. Early-control sensitivities can grow strongly with horizon, which is relevant to shooting conditioning and derivative interpretation.

  97. 97.An orientation variable is intended to be a unit quaternion. The optimizer allows the zero quaternion and uses it to reduce a geometric expression. What validity condition is missing?

    Show answer and explanation
    1. Post-normalizing a candidate necessarily preserves all original dynamics and constraints
    2. The required rotation-representation constraint
    3. The zero quaternion becomes unit length by naming it an orientation
    4. Every four-vector automatically represents a proper rotation

    Answer: The required rotation-representation constraint

    A quaternion representing a rotation must satisfy the appropriate nonzero/unit representation contract. An unconstrained four-vector can exploit values that have no intended orientation meaning. Post-normalization also changes the candidate and requires consistent revalidation.

  98. 98.A representation states that unit quaternions q and −q encode the same physical rotation. A target is (1,0,0,0) and a candidate is (−1,0,0,0). What does a squared coordinate error of 4 misrepresent?

    Show answer and explanation
    1. They cannot both be unit quaternions
    2. Their coordinate vectors are identical
    3. Their physical orientation error is zero
    4. They differ physically by four radians necessarily

    Answer: Their physical orientation error is zero

    The supplied representation identifies antipodal unit quaternions. A naive coordinate difference can assign a large penalty to an equivalent orientation. Use an appropriate orientation error and account for the representation's topology and numerical domain.

  99. 99.A 2×2 matrix has columns (1,0) and (1,0). Each column has unit length. Is that sufficient to certify a planar rotation matrix?

    Show answer and explanation
    1. Yes; duplicate columns preserve every distance
    2. Yes; unit columns guarantee a proper rotation
    3. No; a rotation matrix cannot have unit columns
    4. No; the columns are not orthogonal and the determinant is zero

    Answer: No; the columns are not orthogonal and the determinant is zero

    A proper planar rotation needs orthonormal columns and determinant +1. Unit length alone omits the pairwise condition. This matrix collapses a direction rather than representing a valid orientation transformation.

  100. 100.A terminal penalty is eᵀQe with Q=diag(1,0). Error e=(0,3) gives zero cost, but the task requires both error components to be zero. What does zero cost fail to establish?

    Show answer and explanation
    1. Satisfaction of the full terminal-state requirement
    2. That Q has an unpenalized direction
    3. That a separate hard terminal constraint could matter
    4. That the evaluated quadratic value is zero

    Answer: Satisfaction of the full terminal-state requirement

    The second component is unpenalized, so zero objective permits a nonzero task error. Objective design and hard acceptance conditions must match. A small or zero cost is not a universal proxy for all required terminal conditions.

  101. 101.A finite-horizon optimizer returns one feasible minimum-cost trajectory. No argument covers repeated replanning, terminal behavior, model error, or the resulting feedback law. What guarantee is not established by that solve alone?

    Show answer and explanation
    1. The stated program assigns that candidate an objective
    2. Closed-loop stability of the deployed system
    3. The independently checked finite trajectory is feasible
    4. A finite-horizon program can have an optimum

    Answer: Closed-loop stability of the deployed system

    A trajectory solution and a closed-loop guarantee are different objects. Stability and repeated-operation claims need the appropriate model, controller, terminal, and uncertainty assumptions with supporting analysis or evidence. One optimization result does not by itself supply that guarantee.