# VectorPaint Stewart theorem: split a base into three and seven and pair the side squares correctly

Language: en
Canonical: [VectorPaint Stewart theorem: split a base into three and seven and pair the side squares correctly](<https://allluckly.cn/en/guides/vectorpaint-stewart-cevian-length-weighted-side-squares/>)
中文：[中文 HTML](<https://allluckly.cn/guides/vectorpaint-stewart-cevian-length-weighted-side-squares/>)
English: [English HTML](<https://allluckly.cn/en/guides/vectorpaint-stewart-cevian-length-weighted-side-squares/>)
Published: 2026-11-18T00:00:00+08:00
Modified: 2026-11-18T10:15:52+08:00
Author: Bison

Verify both sides of a 580 identity for a general cevian without assuming median, altitude or angle bisector.

English translation of the [Chinese original](<https://allluckly.cn/guides/vectorpaint-stewart-cevian-length-weighted-side-squares/>), translated on 2026-11-18. Original publication dates, attribution, code and version notes are retained.

Draw a triangle with a point inside its base and connect it to the opposite vertex. Use Stewart’s identity to check the cevian length, carefully pairing squared sides with base segments and distinguishing length from its square. Calculate externally and illustrate manually.

## Fix the base point and a general cevian

Let A=(0,0), B=(10,0), C=(4,6), D=(3,0), with D inside AB. Base 10 splits into AD=3 and DB=7. CD is a cevian, with no median or right-angle symbol assumed. The triangle is nondegenerate and lengths share one dimensionless unit. Separate conditions, triangle, cevian and calculation labels, then save native work. D is not midpoint 5 or vertically below C, so visual neatness cannot make CD a median or altitude. Those extra properties are unnecessary here. Interior D makes 3 and 7 positive lengths summing to 10. Moving D outside AB requires a newly declared external/directed-segment convention, not retention of the positive 3/7 ledger. This diagram makes no such extension.

## Independently calculate three squared distances

CA²=4²+6²=52, CB²=(4−10)²+6²=72, and CD²=(4−3)²+6²=37. Record lengths√52,√72,√37 rather than place 52 or 37 in a length column. C-to-D has horizontal difference 1 and vertical difference 6, so CD is not vertical. Retain these coordinate values as an independent control before solving by the theorem. Both routes must use the same D, not silently substitute C’s perpendicular foot.

## Pair each squared side with its correct base segment

Write CA²·DB+CB²·AD=AB·(CD²+AD·DB). Thus 52×7+72×3=364+216=580. CA² pairs with the segment toward B, not AD merely because A appears in the label. Two thin ledger leaders can show pairing without becoming triangle edges. Preserve the named-segment identity before substitution; another textbook’s a,b,m,n labels do not license memorizing symbols without objects. Both sides have cubic-length units: a squared side times a segment versus a length times a sum of squared-length terms. Substituting CA instead of CA² breaks dimensional consistency even if numbers look close.

## Solve for the length and substitute back

The right side is 10(d²+21)=580, giving d²+21=58, d²=37 and positive length d=√37≈6.083. Neither the negative root nor 37 itself is the segment length. Substitution gives 10(37+21)=580, agreeing with coordinates. Incorrect pairing 52×3+72×7 gives 660 and d²=45, contradicted by coordinate differences. Keep the wrong pairing as a control instead of stretching CD to resemble√45 and calling that verification.

```text
A=(0,0); B=(10,0); C=(4,6); D=(3,0)
AD=3; DB=7; AB=10
CA^2=52; CB^2=72; CD^2=37
CA^2*DB+CB^2*AD=52*7+72*3=580
AB*(CD^2+AD*DB)=10*(37+21)=580
wrong pairing: 52*3+72*7=660 -> d^2=45 (incorrect)
```

## Plot at one scale and move labels outside edges

Use a suggested 2400×1700 canvas with X=300+150x, Y=1400−150y. A,B,C,D map to(300,1400),(1800,1400),(900,500),(750,1400). Draw outer edges before a contrasting CD and place 3/7 below their own base intervals. Use equal scales and do not displace D for a crowded label. Without numeric controls approximate from guides and a ledger. Label√37 as a mathematical result, not a pixel measurement. Annotation leaders must not become extra cevians.

## Explain the pairing through general coordinates

On paper let base length be c, point coordinate m, other segment n=c−m and vertex(p,h). Adjacent side squares are p²+h² and(p−c)²+h²; cevian square is(p−m)²+h². Expanding n times the first plus m times the second yields c times\[cevian square+mn\], explaining the pairing. Here c=10,m=3,p=4,h=6. Retain interior-point and nondegeneracy conditions rather than promote one numerical equality into a universal spatial theorem. The p term is−2cmp on both sides, while mc²−cm²=cm(c−m)=cmn. This explains the mn term algebraically rather than inventing it to force the numerical 580 check.

## Move the base point as one controlled change

Save a control with D′=(4,0): base parts 4/6 and CD′=6. Then 52×6+72×4=600=10(36+24). This control becomes an altitude; original D at 3 does not acquire its right angle. A stale√37 calls for checking labels, and unchanged 3/7 may mean only the point moved. Keep C/base fixed, alter only D and preserve both named versions. Recalculation follows new conditions; dragging does not imply automatic formula-label updates in the App.

## Reopen and deliver one length through two calculations

Save editable work, hide temporary pairing leaders and inspect SVG/PDF plus a separately opened PNG. At reduced size check D’s3/7 split; enlarge minus signs, radicals and squares, then reopen separately editable cevian and text. Deliver coordinate and theorem calculations, incorrect 45 pairing and moved-point control, leaving unperformed exports/reopening pending. Acceptance explains general-cevian conditions and pairing, not merely a vertex-to-base line or an invented built-in Stewart solver.

## Related tutorials and sources

[VectorPaint angle-bisector diagram: six to nine gives four to six, not equal base halves](<https://allluckly.cn/en/guides/vectorpaint-triangle-angle-bisector-six-nine-base-ten/>); [Draw an obtuse triangle orthocentre in VectorPaint: extend altitudes beyond the outline](<https://allluckly.cn/en/guides/vectorpaint-obtuse-triangle-orthocenter-altitude-side-extensions/>).

Method sources: [MathWorld Stewart’s Theorem](<https://mathworld.wolfram.com/StewartsTheorem.html>).

Version and operation scope: checked on 18 November 2026 against the [official VectorPaint listing](<https://apps.apple.com/cn/app/id1587272880>) and [Apple public lookup](<https://itunes.apple.com/lookup?id=1587272880&country=cn&entity=software&timestamp=20261118-vectorpaint>): version 1.0.8, requiring iOS / iPadOS 17.0 or later. Draw manually with published shapes, pen, Bézier nodes, grids/guides, alignment, layers/groups, text and file output through visible installed controls. Prepare definitions and calculations externally; infer no built-in formula, statistics or graph solver. Keep editable native work and inspect SVG, PDF or PNG as needed. SVG/PDF containing imported bitmaps do not automatically become entirely vector. Canvases and samples are original teaching settings, without physical-device execution or real measurement; mark unperformed actions pending.

